<%@ page import="cn.java79.quiz.entity.Admin" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<p>
    <%
        Admin _admin=(Admin)session.getAttribute("USER_LOGIN");
        if(_admin==null){
            out.print("<script>alert('你还没有登录');window.location.replace('login.jsp');</script>");
            return;
        }
    %>
    欢迎你,<%=_admin.getRealname()%>
    <a href="logout.jsp" target="_top">退出</a>
</p>